﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class aspx_admin_left : System.Web.UI.Page
{
    protected int count新闻中心 = 0;
    protected int count讲堂动态 = 0;
    protected int count通知公告 = 0;
    protected int count名师风采 = 0;
    protected int count视频中心 = 0;
    protected int count交流互动 = 0;
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            using (ds_名师讲堂TableAdapters.tb_新闻中心TableAdapter da = new ds_名师讲堂TableAdapters.tb_新闻中心TableAdapter())
            {
                this.count新闻中心 = (int)da.ScalarCount();
            }
            using (ds_名师讲堂TableAdapters.tb_讲堂TableAdapter da = new ds_名师讲堂TableAdapters.tb_讲堂TableAdapter())
            {
                this.count讲堂动态 = (int)da.ScalarCount();
            }
            using (ds_名师讲堂TableAdapters.tb_通知公告TableAdapter da = new ds_名师讲堂TableAdapters.tb_通知公告TableAdapter())
            {
                this.count通知公告 = (int)da.ScalarCount();
            }
            using (ds_名师讲堂TableAdapters.tb_名师风采TableAdapter da = new ds_名师讲堂TableAdapters.tb_名师风采TableAdapter())
            {
                this.count名师风采 = (int)da.ScalarCount();
            }
            using (ds_名师讲堂TableAdapters.tb_视频TableAdapter da = new ds_名师讲堂TableAdapters.tb_视频TableAdapter())
            {
                this.count视频中心 = (int)da.ScalarCount();
            }
            using (ds_名师讲堂TableAdapters.tb_交流互动TableAdapter da = new ds_名师讲堂TableAdapters.tb_交流互动TableAdapter())
            {
                this.count交流互动 = (int)da.ScalarCount();
            }
        }
    }
}